Copyright ã1995 by NeXT Computer, Inc.  All Rights Reserved.

IBDocumentControllers

Adopted By:	no NEXTSTEP classes

Declared In:	apps/InterfaceBuilder.h

Protocol Description

This is the protocol that Interface Builder uses to communicate with objects that have been registered as document controllers. (See registerDocumentController: in the IB protocol specification.)  A document controller could, for example, use these notification messages to ensure that if a nib file containing an older version of a custom palette object is loaded, it will be saved with the new version of the object.

Instance Methods

didOpenDocument:

- didOpenDocument:theDocument

Notifies the controller that theDocument has been opened.

didSaveDocument:

- didSaveDocument:theDocument

Notifies the controller that theDocument has been saved.

willSaveDocument:

- willSaveDocument:theDocument

Notifies the controller that the user is attempting to save theDocument.